﻿using System;

namespace Arch.Common.IoC
{
    public interface IDependencyContainer
    {
        void Init();
        object GetInstance(Type t, string name);
        object GetInstance(Type t);
        T GetInstance<T>();
        T GetInstance<T>(string name);
        void BuildUp<T>(T instance);
        void BuildUp(object instance);
    }
}
